package com.ruoyi.project.cms.pro.service.impl;

import com.ruoyi.project.cms.pro.domain.CmsProInfo;
import com.ruoyi.project.cms.pro.mapper.CmsProInfoMapper;
import com.ruoyi.project.cms.pro.service.CmsProInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CmsProInfoServiceImpl implements CmsProInfoService {
    @Autowired
    private CmsProInfoMapper cmsProInfoMapper;
    @Override
    public List<CmsProInfo> findMore(CmsProInfo cmsProInfo) {

        return cmsProInfoMapper.selectMore(cmsProInfo);
    }

    @Override
    public CmsProInfo selectcmsProInfoById(Integer pid) {
        return cmsProInfoMapper.selectByPrimaryKey(pid);
    }
}
